\(\int \sqrt {a+b \text {arcsinh}(c x)} \, dx\) [631]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [F]
   Fricas [F(-2)]
   Sympy [F]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 12, antiderivative size = 102 \[ \int \sqrt {a+b \text {arcsinh}(c x)} \, dx=x \sqrt {a+b \text {arcsinh}(c x)}+\frac {\sqrt {b} e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \text {arcsinh}(c x)}}{\sqrt {b}}\right )}{4 c}-\frac {\sqrt {b} e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \text {arcsinh}(c x)}}{\sqrt {b}}\right )}{4 c} \]

[Out]

1/4*exp(a/b)*erf((a+b*arcsinh(c*x))^(1/2)/b^(1/2))*b^(1/2)*Pi^(1/2)/c-1/4*erfi((a+b*arcsinh(c*x))^(1/2)/b^(1/2
))*b^(1/2)*Pi^(1/2)/c/exp(a/b)+x*(a+b*arcsinh(c*x))^(1/2)

Rubi [A] (verified)

Time = 0.17 (sec) , antiderivative size = 102, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5772, 5819, 3389, 2211, 2236, 2235} \[ \int \sqrt {a+b \text {arcsinh}(c x)} \, dx=\frac {\sqrt {\pi } \sqrt {b} e^{a/b} \text {erf}\left (\frac {\sqrt {a+b \text {arcsinh}(c x)}}{\sqrt {b}}\right )}{4 c}-\frac {\sqrt {\pi } \sqrt {b} e^{-\frac {a}{b}} \text {erfi}\left (\frac {\sqrt {a+b \text {arcsinh}(c x)}}{\sqrt {b}}\right )}{4 c}+x \sqrt {a+b \text {arcsinh}(c x)} \]

[In]

Int[Sqrt[a + b*ArcSinh[c*x]],x]

[Out]

x*Sqrt[a + b*ArcSinh[c*x]] + (Sqrt[b]*E^(a/b)*Sqrt[Pi]*Erf[Sqrt[a + b*ArcSinh[c*x]]/Sqrt[b]])/(4*c) - (Sqrt[b]
*Sqrt[Pi]*Erfi[Sqrt[a + b*ArcSinh[c*x]]/Sqrt[b]])/(4*c*E^(a/b))

Rule 2211

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[F^(g*(e - c*(
f/d)) + f*g*(x^2/d)), x], x, Sqrt[c + d*x]], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !TrueQ[$UseGamma]

Rule 2235

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[F^a*Sqrt[Pi]*(Erfi[(c + d*x)*Rt[b*Log[F], 2
]]/(2*d*Rt[b*Log[F], 2])), x] /; FreeQ[{F, a, b, c, d}, x] && PosQ[b]

Rule 2236

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[F^a*Sqrt[Pi]*(Erf[(c + d*x)*Rt[(-b)*Log[F],
 2]]/(2*d*Rt[(-b)*Log[F], 2])), x] /; FreeQ[{F, a, b, c, d}, x] && NegQ[b]

Rule 3389

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + (f_.)*(x_)], x_Symbol] :> Dist[I/2, Int[(c + d*x)^m/E^(I*(e + f*x))
, x], x] - Dist[I/2, Int[(c + d*x)^m*E^(I*(e + f*x)), x], x] /; FreeQ[{c, d, e, f, m}, x]

Rule 5772

Int[((a_.) + ArcSinh[(c_.)*(x_)]*(b_.))^(n_.), x_Symbol] :> Simp[x*(a + b*ArcSinh[c*x])^n, x] - Dist[b*c*n, In
t[x*((a + b*ArcSinh[c*x])^(n - 1)/Sqrt[1 + c^2*x^2]), x], x] /; FreeQ[{a, b, c}, x] && GtQ[n, 0]

Rule 5819

Int[((a_.) + ArcSinh[(c_.)*(x_)]*(b_.))^(n_.)*(x_)^(m_.)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Dist[(1/(b*
c^(m + 1)))*Simp[(d + e*x^2)^p/(1 + c^2*x^2)^p], Subst[Int[x^n*Sinh[-a/b + x/b]^m*Cosh[-a/b + x/b]^(2*p + 1),
x], x, a + b*ArcSinh[c*x]], x] /; FreeQ[{a, b, c, d, e, n}, x] && EqQ[e, c^2*d] && IGtQ[2*p + 2, 0] && IGtQ[m,
 0]

Rubi steps \begin{align*} \text {integral}& = x \sqrt {a+b \text {arcsinh}(c x)}-\frac {1}{2} (b c) \int \frac {x}{\sqrt {1+c^2 x^2} \sqrt {a+b \text {arcsinh}(c x)}} \, dx \\ & = x \sqrt {a+b \text {arcsinh}(c x)}+\frac {\text {Subst}\left (\int \frac {\sinh \left (\frac {a}{b}-\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \text {arcsinh}(c x)\right )}{2 c} \\ & = x \sqrt {a+b \text {arcsinh}(c x)}+\frac {\text {Subst}\left (\int \frac {e^{-i \left (\frac {i a}{b}-\frac {i x}{b}\right )}}{\sqrt {x}} \, dx,x,a+b \text {arcsinh}(c x)\right )}{4 c}-\frac {\text {Subst}\left (\int \frac {e^{i \left (\frac {i a}{b}-\frac {i x}{b}\right )}}{\sqrt {x}} \, dx,x,a+b \text {arcsinh}(c x)\right )}{4 c} \\ & = x \sqrt {a+b \text {arcsinh}(c x)}+\frac {\text {Subst}\left (\int e^{\frac {a}{b}-\frac {x^2}{b}} \, dx,x,\sqrt {a+b \text {arcsinh}(c x)}\right )}{2 c}-\frac {\text {Subst}\left (\int e^{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \text {arcsinh}(c x)}\right )}{2 c} \\ & = x \sqrt {a+b \text {arcsinh}(c x)}+\frac {\sqrt {b} e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \text {arcsinh}(c x)}}{\sqrt {b}}\right )}{4 c}-\frac {\sqrt {b} e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \text {arcsinh}(c x)}}{\sqrt {b}}\right )}{4 c} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.16 (sec) , antiderivative size = 101, normalized size of antiderivative = 0.99 \[ \int \sqrt {a+b \text {arcsinh}(c x)} \, dx=\frac {e^{-\frac {a}{b}} \sqrt {a+b \text {arcsinh}(c x)} \left (-\frac {e^{\frac {2 a}{b}} \Gamma \left (\frac {3}{2},\frac {a}{b}+\text {arcsinh}(c x)\right )}{\sqrt {\frac {a}{b}+\text {arcsinh}(c x)}}+\frac {\Gamma \left (\frac {3}{2},-\frac {a+b \text {arcsinh}(c x)}{b}\right )}{\sqrt {-\frac {a+b \text {arcsinh}(c x)}{b}}}\right )}{2 c} \]

[In]

Integrate[Sqrt[a + b*ArcSinh[c*x]],x]

[Out]

(Sqrt[a + b*ArcSinh[c*x]]*(-((E^((2*a)/b)*Gamma[3/2, a/b + ArcSinh[c*x]])/Sqrt[a/b + ArcSinh[c*x]]) + Gamma[3/
2, -((a + b*ArcSinh[c*x])/b)]/Sqrt[-((a + b*ArcSinh[c*x])/b)]))/(2*c*E^(a/b))

Maple [F]

\[\int \sqrt {a +b \,\operatorname {arcsinh}\left (c x \right )}d x\]

[In]

int((a+b*arcsinh(c*x))^(1/2),x)

[Out]

int((a+b*arcsinh(c*x))^(1/2),x)

Fricas [F(-2)]

Exception generated. \[ \int \sqrt {a+b \text {arcsinh}(c x)} \, dx=\text {Exception raised: TypeError} \]

[In]

integrate((a+b*arcsinh(c*x))^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

Sympy [F]

\[ \int \sqrt {a+b \text {arcsinh}(c x)} \, dx=\int \sqrt {a + b \operatorname {asinh}{\left (c x \right )}}\, dx \]

[In]

integrate((a+b*asinh(c*x))**(1/2),x)

[Out]

Integral(sqrt(a + b*asinh(c*x)), x)

Maxima [F]

\[ \int \sqrt {a+b \text {arcsinh}(c x)} \, dx=\int { \sqrt {b \operatorname {arsinh}\left (c x\right ) + a} \,d x } \]

[In]

integrate((a+b*arcsinh(c*x))^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(b*arcsinh(c*x) + a), x)

Giac [F]

\[ \int \sqrt {a+b \text {arcsinh}(c x)} \, dx=\int { \sqrt {b \operatorname {arsinh}\left (c x\right ) + a} \,d x } \]

[In]

integrate((a+b*arcsinh(c*x))^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(b*arcsinh(c*x) + a), x)

Mupad [F(-1)]

Timed out. \[ \int \sqrt {a+b \text {arcsinh}(c x)} \, dx=\int \sqrt {a+b\,\mathrm {asinh}\left (c\,x\right )} \,d x \]

[In]

int((a + b*asinh(c*x))^(1/2),x)

[Out]

int((a + b*asinh(c*x))^(1/2), x)